package com.singlemountain.gcommerce.domain.category;

import com.singlemountain.gcommerce.domain.base.Base;
import com.singlemountain.gcommerce.domain.product.Productd;
import java.util.HashSet;
import java.util.Set;
import javax.persistence.CascadeType;
import javax.persistence.OneToMany;
import org.springframework.roo.addon.javabean.RooJavaBean;
import org.springframework.roo.addon.jpa.activerecord.RooJpaActiveRecord;
import org.springframework.roo.addon.tostring.RooToString;

@RooJavaBean
@RooToString
@RooJpaActiveRecord
public class Categoryd extends Base {

    private int sortOrder;

    private Boolean showOnFrontPage;

    private Long parent;

    @OneToMany(cascade = CascadeType.ALL)
    private Set<Productd> products = new HashSet<Productd>();


}
